package com.zp.business.entity.patPrepayment.vo;

import com.alibaba.excel.annotation.ExcelIgnoreUnannotated;
import com.alibaba.excel.annotation.ExcelProperty;
import com.zp.common.core.entity.BaseEntity;
import com.zp.common.excel.annotation.ExcelDictFormat;
import com.zp.common.excel.convert.ExcelDictConvert;
import lombok.Data;

import java.math.BigDecimal;
import java.util.Date;


/**
 * 患者住院预交金视图对象
 *
 * @author zhang peng
 * @ date 2024-07-07
 */
@Data
@ExcelIgnoreUnannotated
public class PatPrepaymentVo  extends BaseEntity {

    private static final long serialVersionUID = 1L;

            /**
             * 主键
             */
            @ExcelProperty(value = "主键")
            private String prepaymentId;

            /**
             * 患者主信息id
             */
            @ExcelProperty(value = "患者主信息id")
            private String patientId;

            /**
             * 住院id
             */
            @ExcelProperty(value = "住院id")
            private String visitId;

            /**
             * 收费号
             */
            @ExcelProperty(value = "收费号")
            private String feesNo;

            /**
             * 结账号
             */
            @ExcelProperty(value = "结账号")
            private String acctNo;

            /**
             * 预交金金额
             */
            @ExcelProperty(value = "预交金金额")
            private BigDecimal amountOfMoney;

            /**
             * 支付方式
             */
            @ExcelProperty(value = "支付方式", converter = ExcelDictConvert.class)
            @ExcelDictFormat(dictType = "pay_way_dict")
            private String payWay;

            /**
             * 支付卡号
             */
            @ExcelProperty(value = "支付卡号")
            private String cardNo;

            /**
             * 金额类型
             */
            @ExcelProperty(value = "金额类型")
            private String type;

            /**
             * 退费号
             */
            @ExcelProperty(value = "退费号")
            private String refundedId;

            /**
             * 机构id
             */
            @ExcelProperty(value = "机构id")
            private String orgId;

            /**
             * 备注
             */
            @ExcelProperty(value = "备注")
            private String remarks;

            /**
             * 建议预交金
             */
            @ExcelProperty(value = "建议预交金")
            private BigDecimal paymentAdvice;

            /**
             * 退费人
             */
            @ExcelProperty(value = "退费人")
            private String refundedUser;

        /**
         * 退费时间
         */
        private Date refundedTime;


}
